Add gsk_transform_to_2d_components
authorMatthias Clasen <mclasen@redhat.com>
Sat, 18 Sep 2021 06:06:00 +0000 (02:06 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 18 Sep 2021 06:06:51 +0000 (02:06 -0400)
commit41b810da7f36366ca7bbda7630453faed54fa016
tree15a6a5715af1263cc0257b499be332eef676d284
parent5742483422a75aa69b7bbeda5e737159baaf1b12
Add gsk_transform_to_2d_components

This function decomposes a general 2D transform
into skew, scale, rotation and translation.

Tests included.
gsk/gsktransform.c
gsk/gsktransform.h
testsuite/gsk/transform.c